package lj.courseinterect.dao.i;

import lj.courseinterect.entity.Student;
import lj.courseinterect.entity.Teacher;
import org.springframework.security.core.userdetails.UserDetailsService;

/**
 * Created by CatoldCui on 2015/4/20.
 */
public interface TeacherDao extends Dao<Teacher, Long>, UserDetailsService {
    /**
     * 通过学号
     * @param teaNum 学号
     * @return 单个
     */
    Teacher findByTeaNum(String teaNum);
}
